MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 65
Dependencies 31
Dependents 4
Total lines 409
Lines of code 269
Logical lines of code 183
Comment lines 41
Methods 11
Properties 16

Methods 11

Method Rating Maintainability Complexity Lines of code
save()
A
45 11 38
updateNewsletter()
A
49 11 32
duplicate()
A
41 8 55
updateSegments()
A
50 9 30
updateQueue()
S
54 6 21
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
__construct()
S
56 1 18
sanitizeAutomationEmailData()
S
69 2 7